package com.aprivate.kn.ratingsystem.daoBean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;

/**
 * Created by kenan on 2018/11/29.
 * 评级页面项目详情
 */
@Entity
public class ProductInfo {

    /**
     * id : 25
     * name : 1
     * templateId : 31
     * topicIds : 67,68,69,70,71,72
     * status : 1
     * remark : 1
     * createTime : 1543419249000
     * creator : admin
     * editTime : 1543419249000
     * editor : admin
     * yn : 1
     * propertyScope : 1
     * unitName : 1
     * secondUnit : 1
     * auditLeaderName : 1
     * auditLeaderAddress : null
     * auditLeaderPhone : null
     * auditLeaderEmail : null
     */

    @Id(autoincrement = false)
    private Long id;
    private String name;
    private int templateId;
    private String topicIds;
    private int status;
    private String remark;
    private long createTime;
    private String creator;
    private long editTime;
    private String editor;
    private int yn;
    private String propertyScope;
    private String unitName;
    private String secondUnit;
    private String auditLeaderName;
    private String auditLeaderAddress;
    private String auditLeaderPhone;
    private String auditLeaderEmail;

    @Generated(hash = 236985731) @Keep
    public ProductInfo(Long id, String name, int templateId, String topicIds,
            int status, String remark, long createTime, String creator,
            long editTime, String editor, int yn, String propertyScope,
            String unitName, String secondUnit, String auditLeaderName,
            String auditLeaderAddress, String auditLeaderPhone,
            String auditLeaderEmail) {
        this.id = id;
        this.name = name;
        this.templateId = templateId;
        this.topicIds = topicIds;
        this.status = status;
        this.remark = remark;
        this.createTime = createTime;
        this.creator = creator;
        this.editTime = editTime;
        this.editor = editor;
        this.yn = yn;
        this.propertyScope = propertyScope;
        this.unitName = unitName;
        this.secondUnit = secondUnit;
        this.auditLeaderName = auditLeaderName;
        this.auditLeaderAddress = auditLeaderAddress;
        this.auditLeaderPhone = auditLeaderPhone;
        this.auditLeaderEmail = auditLeaderEmail;
    }

    @Generated(hash = 49329718)
    public ProductInfo() {
    }

    public Long  getId() {
        return id;
    }

    public void setId(Long  id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTemplateId() {
        return templateId;
    }

    public void setTemplateId(int templateId) {
        this.templateId = templateId;
    }

    public String getTopicIds() {
        return topicIds;
    }

    public void setTopicIds(String topicIds) {
        this.topicIds = topicIds;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public long getEditTime() {
        return editTime;
    }

    public void setEditTime(long editTime) {
        this.editTime = editTime;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public int getYn() {
        return yn;
    }

    public void setYn(int yn) {
        this.yn = yn;
    }

    public String getPropertyScope() {
        return propertyScope;
    }

    public void setPropertyScope(String propertyScope) {
        this.propertyScope = propertyScope;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getSecondUnit() {
        return secondUnit;
    }

    public void setSecondUnit(String secondUnit) {
        this.secondUnit = secondUnit;
    }

    public String getAuditLeaderName() {
        return auditLeaderName;
    }

    public void setAuditLeaderName(String auditLeaderName) {
        this.auditLeaderName = auditLeaderName;
    }

    public String getAuditLeaderAddress() {
        return auditLeaderAddress;
    }

    public void setAuditLeaderAddress(String auditLeaderAddress) {
        this.auditLeaderAddress = auditLeaderAddress;
    }

    public String getAuditLeaderPhone() {
        return auditLeaderPhone;
    }

    public void setAuditLeaderPhone(String auditLeaderPhone) {
        this.auditLeaderPhone = auditLeaderPhone;
    }

    public String getAuditLeaderEmail() {
        return auditLeaderEmail;
    }

    public void setAuditLeaderEmail(String auditLeaderEmail) {
        this.auditLeaderEmail = auditLeaderEmail;
    }
}
